<template>
    <div class="right-com">
        <div style="padding-top: 10px; font-size: 14px; margin-left: 10px;">常用功能</div>

        <div class="com-top">
            <div class="com-top-left">
                <div class="top-left-zuo">
                    <div>
                        <el-icon color=" #8A8C90" size="20" style="margin-left: 10px;">
                            <Histogram />
                        </el-icon>
                    </div>
                    <span style="color: #8A8C90; margin-left: 8px;">订单列表</span>
                </div>
                <div class="top-left-you">
                    <el-icon color=" #8A8C90" size="14" style="margin-right: 5px;">
                        <ArrowRight />
                    </el-icon>
                </div>
            </div>
            <div class="com-top-right">
                <div class="top-left-zuo">
                    <div>
                        <el-icon color=" #8A8C90" size="20" style="margin-left: 10px;">
                            <Avatar />
                        </el-icon>
                    </div>
                    <span style="color: #8A8C90; margin-left: 8px;">用户列表</span>
                </div>
                <div class="top-left-you">
                    <el-icon color=" #8A8C90" size="14" style="margin-right: 5px;">
                        <ArrowRight />
                    </el-icon>
                </div>

            </div>
        </div>

        <div class="com-com">
            <div class="com-com-left">
                <div class="com-left-zuo">
                    <div>
                        <el-icon color=" #8A8C90" size="20" style="margin-left: 10px;">
                            <HomeFilled />
                        </el-icon>
                    </div>
                    <span style="color: #8A8C90; margin-left: 8px;">首页配置</span>
                </div>
                <div class="com-left-you">
                    <el-icon color=" #8A8C90" size="14" style="margin-right: 5px;">
                        <ArrowRight />
                    </el-icon>
                </div>
            </div>
            <div class="com-com-right">
                <div class="com-left-zuo">
                    <div>
                        <el-icon color=" #8A8C90" size="20" style="margin-left: 10px;">
                            <PictureFilled />
                        </el-icon>
                    </div>
                    <span style="color: #8A8C90; margin-left: 8px;">主题配置</span>
                </div>
                <div class="com-left-you">
                    <el-icon color=" #8A8C90" size="14" style="margin-right: 5px;">
                        <ArrowRight />
                    </el-icon>
                </div>

            </div>
        </div>

        <div class="com-bot">
            <div class="com-bot-left">
                <div class="bot-left-zuo">
                    <div>
                        <el-icon color=" #8A8C90" size="20" style="margin-left: 10px;">
                            <HelpFilled />
                        </el-icon>
                    </div>
                    <span style="color: #8A8C90; margin-left: 8px;">活动管理</span>
                </div>
                <div class="bot-left-you">
                    <el-icon color=" #8A8C90" size="14" style="margin-right: 5px;">
                        <ArrowRight />
                    </el-icon>
                </div>
            </div>
            <div class="com-bot-right">
                <div class="bot-left-zuo">
                    <div>
                        <el-icon color=" #8A8C90" size="20" style="margin-left: 10px;">
                            <Tools />
                        </el-icon>
                    </div>
                    <span style="color: #8A8C90; margin-left: 8px;">退款申请</span>
                </div>
                <div class="bot-left-you">
                    <el-icon color=" #8A8C90" size="14" style="margin-right: 5px;">
                        <ArrowRight />
                    </el-icon>
                </div>

            </div>
        </div>
    </div>
    <div class="right-con">
        <div>查看更多查看更多查看更多查看更多查看更多查看更多查看更多查看更多查看更多查看更多</div>

    </div>
</template>

<script setup lang="ts"></script>

<style scoped lang="scss">
.right-com {
    height: 210px;
    width: 100%;
    background-color: #fff;
    margin-top: 11px;
    border-radius: 8px;

    .com-top {
        margin-top: 10px;
        width: 100%;
        height: 45px;
        display: flex;

        .com-top-left {
            width: 45%;
            height: 45px;
            border-radius: 8px;
            background: #FAFAFC;
            margin-left: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;

            .top-left-zuo {
                display: flex;
            }
        }

        .com-top-right {
            width: 45%;
            height: 45px;
            border-radius: 8px;
            background: #FAFAFC;
            margin-left: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;

            .top-left-zuo {
                display: flex;
            }
        }
    }

    .com-com {
        margin-top: 10px;
        width: 100%;
        height: 45px;
        display: flex;

        .com-com-left {
            width: 45%;
            height: 45px;
            border-radius: 8px;
            background: #FAFAFC;
            margin-left: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;

            .com-left-zuo {
                display: flex;
            }
        }

        .com-com-right {
            width: 45%;
            height: 45px;
            border-radius: 8px;
            background: #FAFAFC;
            margin-left: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;

            .com-left-zuo {
                display: flex;
            }
        }
    }

    .com-bot {
        margin-top: 10px;
        width: 100%;
        height: 45px;
        display: flex;

        .com-bot-left {
            width: 45%;
            height: 45px;
            border-radius: 8px;
            background: #FAFAFC;
            margin-left: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;

            .bot-left-zuo {
                display: flex;
            }
        }

        .com-bot-right {
            width: 45%;
            height: 45px;
            border-radius: 8px;
            background: #FAFAFC;
            margin-left: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;

            .bot-left-zuo {
                display: flex;
            }
        }
    }
}

.right-con {
    width: 100%;
    height: 155px;
    background: url('@/assets/homebg.jpeg');
    background-size: 100%;
    margin-top: 20px;
    border-radius: 8px;
    position: relative;

    div {
        width: 100%;
        overflow: hidden;
        height: 30px;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: #fff;
        position: absolute;
        left: 0;
        bottom: 0;
        text-align: center;
        font-size: 14px;
        background-color: rgba(0, 0, 0, .5);
        line-height: 30px;
    }
}
</style>